﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DynaPrecision.Numerical.Mesh
{
	/// <summary>
	/// Cartesian mesh, use indexer to obain the corresponding coordinates of the mest for a certain dimension
	/// </summary>
	/// <typeparam name="T"></typeparam>
	public interface ICartesianMesh<T>
	{
		/// <summary>
		/// The dimension
		/// </summary>
		int Dimension { get; }
		/// <summary>
		/// Obtain the coordiantes in IMultidimensionalarray
		/// </summary>
		/// <param name="dimension"></param>
		/// <returns></returns>
		LinearSystem.IMultiDimensionalArray<T> this[int dimension] { get; }
	}
}
